package org.springblade.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.system.entity.DoctorCategory;
import org.springblade.modules.system.utils.BusinessException;
import org.springblade.modules.system.utils.PageBounds;

import java.util.List;

public interface DoctorCategoryService extends IService<DoctorCategory> {

    /**
     * 获取列表
     */
    PageBounds<DoctorCategory> openDoctorCategoryTable(String name, int currentPage, int pageSize)throws Exception;
    /**
     * 查询所有信息
     */
    List<DoctorCategory> selectAllDoctorCategory();
    /**
     *删除信息
     */
    public int deleteDoctorCategoryById(Integer id);
    /**
     * 多删除
     */
    /**
     * 删除
     * @param ids
     * @throws BusinessException
     */
    void deleteDoctorCategoryByIds(List<Integer> ids)throws BusinessException;
    /**
     * 添加
     */
    public int  addDoctorCategory(DoctorCategory doctorCategory);
    /**
     * 修改
     */
    public int  updateDoctorCategory(DoctorCategory doctorCategory);
}
